import QtQuick 2.0
import QtQuick.Controls 2.5
import CDemo1 1.0
import "../../customqml"
Rectangle {
    id:qml_base_syntax_main_root
    color: "white"
    anchors.fill: parent
    signal qmlSignalShowBaseSyntax(int index,string value)
    Loader{
        id:basesynctaxLoader
        anchors.centerIn: parent
        anchors.fill: parent
    }
    NormalBtn{
        id:qml_quick_start_bt_1
        text: "FFmpeg Demo 1"
        anchors{
            left: parent.left
            leftMargin: 30
            top: qml_base_syntax_main_root.top
            topMargin: 30
        }
        font{
            pixelSize: 15
            family: "微软雅黑"
        }
        height: 30
        MouseArea{
            anchors.fill: parent
            acceptedButtons: Qt.LeftButton|Qt.RightButton
            onClicked: {
                if(mouse.button===Qt.LeftButton)
                {
                    basesynctaxLoader.source="/qml/main/QmlFFmpegMain/QmlFFmpegSub/Demo1.qml"
                }
            }
        }
    }
}
